<template>
<div class="hello">
  <el-table :data="tableData">

    <el-table-column label='1' prop='test1'></el-table-column>
    <el-table-column label='2' prop='test2'></el-table-column>
    <el-table-column label='3' prop='test3'></el-table-column>
    <el-table-column label='4' prop='test4'></el-table-column>
    <el-table-column label='5' prop='test5'></el-table-column>

    <el-table-colum width='200px' fixed='right' label='操作'>
    <template slot-scope="scope">
      <el-button type='text' @click="get(scope)">操作1</el-button>
      <el-button type='text'>操作2</el-button>
    </template>
    </el-table-colum>

  </el-table>
</div>
</template>

<script>
export default {
  data(){
    return{
       tableData:[
         {test1:'王小虎',test2:'上海',test3:'普陀区',test4:'上海市普陀区金沙江路 1518 弄',test5:'200333'},
         {test1:'王小虎',test2:'上海',test3:'普陀区',test4:'上海市普陀区金沙江路 1518 弄',test5:'200333'},
         {test1:'王小虎',test2:'上海',test3:'普陀区',test4:'上海市普陀区金沙江路 1518 弄',test5:'200333'},
         {test1:'王小虎',test2:'上海',test3:'普陀区',test4:'上海市普陀区金沙江路 1518 弄',test5:'200333'},
         {test1:'王小虎',test2:'上海',test3:'普陀区',test4:'上海市普陀区金沙江路 1518 弄',test5:'200333'},
       ]
    }
  },
  methods:{
    
  }
}
</script>